Routines (alphabetical) > Routines: H > HDF Routines > HDF_GR_SETCHUNKCACHE

HDF_GR_SETCHUNKCACHE

This function allows the user to set the maximum number of chunks to be cached (maxcache). If HDF_GR_SETCHUNKCACHE is not called, maxcache is set to the number of chunks along the fastest changing dimension.

Syntax

Result = HDF_GR_SETCHUNKCACHE(ri_id, maxcache, flags)

Return Value

Returns the value of maxcache if successful or FAIL (-1) otherwise.

Arguments

ri_id

Raster image identifier returned by HDF_GR_CREATE or HDF_GR_SELECT.

maxcache

Maximum number of chunks to cache.

flags

Currently, the only HDF allowed value for flags is zero (cache all).

Keywords

None

Version History

 

5.2

Introduced